//
//  WidgetType.swift
//  WidgetExample
//
//  Created by Ben on 2022/4/19.
//  Copyright © 2022 Ben. All rights reserved.
//

import Foundation

enum WidgetType: String, Codable, CaseIterable {
    case time
    case moments
    case goodsPriceChange
    
    var kind: String {
        
        switch self {
        case .time:
            return "TimeWidgetExtension"
        case .moments:
            return "MomentsWidgetExtension"
        case .goodsPriceChange:
            return "GoodsPriceChangeWidgetExtension"
        }
    }
}
